<include file="common/hearder"/>
<div class="container">
    <div class="row">
        <div class="col-lg-6">
            <br><h3>添加岗位信息</h3><br>
            <form method="post">
                <div class="form-group">
                    <label for="exampleInputEmail1">岗位名称</label>
                    <input type="text" class="form-control" name="pt_name" id="exampleInputEmail1" placeholder="请输入岗位名称">
                </div>
                <div class="form-group">
                    <label>所属部门</label>
                    <select class="form-control" name="dpt_id">
                        <option value="0">--请选择--</option>
                        <foreach name="dptlist" item="dpt">
                            <option value="{$dpt['dpt_id']}">{$dpt['dpt_name']}</option>
                        </foreach>
                    </select>
                </div>
                <div class="form-group">
                    <label>岗位职能</label>
                    <input type="text" class="form-control" name="pt_function" placeholder="请输入岗位职能">
                </div>
                <div class="form-group">
                    <label>状态</label>
                    <input type="radio" name="state" value="1" checked>显示
                    <input type="radio" name="state" value="0">隐藏
                </div>
                <input type="hidden" value="1" name="submit">
                <button type="submit" class="btn btn-info">添加</button>
                <a href="{:U('index')}" class="btn btn-default">返回上一页</a>
            </form>
        </div>
    </div>
</div>
<include file="common/footer"/>